package com.runa.rccprotocol.dto.runa;

import com.runa.rccprotocol.constant.AppFunCode;
import com.runa.rccprotocol.dto.ConcentratorResponseData;
import com.runa.rccprotocol.dto.equdata.EquData;
import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zhuj
 */
public class RunaConcenResponseData extends ConcentratorResponseData<List> {

    private final List datas = new ArrayList();

    @Getter
    private AppFunCode.rnicAFN command;

    public void setCommand(AppFunCode.rnicAFN command) {
        this.command = command;
    }

    @Override
    public List getData() {
        return datas;
    }

    public void addRepData(Object data) {
        datas.add(data);
    }

}
